home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Floppyshop 2
/
Floppyshop - 2.zip
/
Floppyshop - 2.iso
/
art&graf.ix
/
art-3189
/
slicer
/
splicer.doc
< prev
next >
Wrap
Text File
|
1998-10-23
|
8KB
|
199 lines
Horay! Now there's no need for a PC to create your own SPX pictures (!!)!!!
Now you can use the greener, cleaner,
\----------- RAW SLICER/DICER! -----------/
Programmed by the Phantom of Electronic Images in GFA Basic V3.5.
RAW SPLICER is public domain and can be freely distributed as long as this
text file is accompanying it (SPLICER.DOC), unaltered.
Additional programs:
GIFTORAW is programmed by Folkert Van Heusden.
RAW2SPEC is programmed by Robert Barnhardt.
The files you should have are:
SLICE2MB.PRG - The "power user's" (2MB or more memory) version.
SLICE512.PRG - For users with 1MB or less memory.
GIFTORAW.PRG - The GIF to RAW converter.
RAW2SPEC.PRG - The RAW to Spectrum 512 (SPU) converter.
SPXCRTnn.PRG - The SPX creator version nn (1.4 latest at this time).
Acknowledgements:
Spectrum 512 (C) Antic Publishing.
If you are missing any of the above files, contact The Phantom at the
address below (with a blank disk and if possible postage) or call Contact
BBS (details below as well).
SECTION 1 - What the hell is this for?
Well, basically, we here at Electronic Images have had a few comments
(complaints?) about ST users not being able to convert their own GIF files
to SPX. Well, they were right!! We think there was ONE program (VIEWGIF2)
that allowed you to do so, but the only way at that time was to use a PC!!
Well, that also got on our nerves too, so The Phantom wrote a RAW splicer
(greatly inspired by Folkert Van Heusden's GIFTORAW convertor).
SECTION 2 - System requirements.
Unfortunately, the splicer/s require a bit of memory/disk space, depending
on the RAW produced by GIFTORAW. For example, a 640x400 RAW file will
occupy (640x400x3) 768K of memory/disk space. A 320x200 RAW will occupy
(320x200x3) 192K. It is for this reason that there are two versions. The
version for 2MB machines or above is faster and has a limit of 1.2MB RAW
files (it could have been more, but for 2MB machines a little memory left
felt more 'safe'!). It also allows you to delete the old raw on disk while
it converts the one in memory - this is in case you do not have much disk
space left for the output RAW files. The 512K version is slower but has the
advantage that users with 512k or 1MB machines can convert RAWs. Please
note that you will STILL need a lot of disk space (for example, for a
640x400 RAW). It CANNOT delete the original raw since it does not load the
entire thing into memory, so if you are using floppies, use B: to save your
RAW onto.
SECTION 3 - Converting GIF to SPX.
First of all, get a hold of a GIF file! You can also use straight off a
RAW file if you want. If you have a GIF file, then use GIFTORAW on it. It
should convert your GIF file to a RAW format file. Please note that this
RAW file format does not compress, and stores 16 million colour information,
so files will result huge in comparison to the original. Once you have your
RAW file, then run whichever version of RAW slicer that you require.
First of all, select your palette. If you have an STE then select the STE
palette. The palette selection has NOTHING to do with altering the colour
information in the raw file, just the way it is portrayed onscreen. Now
select your RAW file. It will then display the resolution of your RAW file
and plot it onscreen for you to see. It will scale the entire RAW file so
what you see onscreen is the whole picture. When it is done, you will get a
'box' with an extended bottom. The box represents an ST 320x200 screen,
while the extended lines below it represent the continuing pictures for the
SPX. Now select your area. Use the mouse to move the box around, with the
left mouse button selecting the area. If at any point you have second
thoughts, you can quit the RAW splicer by pressing the right mouse button.
If not, the RAW splicer will then take the box as the first picture and save
it out as a 320x200 RAW file (192k), and continue saving 320x200 RAWs below
it until it reaches the end of the picture. Please note that since 512
colour pictures only actually contain 199 pixels of height, you will find
that if you convert from the very top of a 640x400 RAW file it will save 3
RAW files, since two 199 high screens do NOT cover the whole RAW. On the
example above (640x400 RAW) you will have three RAW files, with the last RAW
containing only two lines from the end of the original. Note that the
actual RAWs saved are 320x200 for compatibility. At any point during saving
you can cancel a RAW save, thus skipping that screen. For example, you can
save screen 1, skip screen 2, save screen 3, etc until the RAW splicer has
reached the end of the RAW file. You now have an X amount of RAW files that
you have to convert to Spectrum 512 format.
Now use RAW2SPEC to convert the individual RAW files. This is the best
quality 512 colour convertor there is; so good in fact, that a certain group
ripped off the conversion code for their own file format (tut, tut!!)! At
the start it asks for the RAW file. Select it. Then it asks for certain
options: select dithering ON with 'error' (that's Floyd-Steinberg Error
dispersion, one of the best dither methods, which we're using in our
new graphics utility - written by us, though!) and 'use register 15'. Note
that if you DO use register 15, then refrain from loading the picture/s into
Spectrum 512, since that will screw the picture up since it will delete
colour 15 from your picture, leaving awful 'holes'. So if you want to put
any logo at the end of your converted RAW, then DO NOT use colour 15 on your
LAST picture - then you can load it into Spectrum 512 etc etc. Note that
SPX creator accepts any bloody colour, and it is best to use colour 15 as
you obtain (marginally) better quality results. You now have X number of
Spectrum 512 files!
Now use SPX CREATOR to put together your picture, and hey presto!!
SECTION 4 - Acknowledgements etc etc.
The Phantom would like to thank these people for their inspiration for RAW
splicer:
Vincent Van Heusden - Thanks for the GIFTORAW convertor!! If you hadn't
sent it, billions of ST users would still be stuck wondering in regard of
SPX creation!!! (Thanks for the other stuff too!)
Robert Barnhardt - The RAW2SPEC convertor. Your convertor has the best
quality of all of 'em, but wait 'till you see ours!! Anyway, keep it up!!
Also, I'd like to hear from Canadian/American ST users in regard to one
thing: does (software) overscan work on your ST's? DMJ informed me that it
doesn't on his ST - So I must know if there are others as well; this is in
relation to our new picture format.
SECTION 5 - End bits and all that.
(The Phantom here) Well, I hope that you find this the solution you've
been looking for, because I've been using it like crazy! I hope to be
working on the Falcon soon (if it's any good); if so, it does NOT mean that
there won't be any more ST software from Electronic Images - one of the main
reasons of having a Falcon is that I can write ST programs faster!!
I'll also like to say that the new graphics file format is coming along
well, and that if Atari is kind to us, will also be out on the Falcon -
expect to see our new convertor soon - on the ST anyway.
If you have any queries as to SPX or any other thing, then you can contact
The Phantom via Contact BBS (9PM to 9AM UK time) on +44 (0)81 646 0746
- London, England. Note that this board is also an SPX suppport board,
containing over 16MB of SPX pictures!!! You can also write to The Phantom
at the address below, remembering to enclose a disk (if necessary) and if
possible some postage to:
The Phantom
21 Bledlow House
Capland Street
London NW8 8RU
Members of Electronic Images are:
Gizmo
The Phantom
Nightowl
Count Zero
Griff
Master
This has been an Electronic Images production!